// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
function toggleErrorDescription(obj)
{
    traceDiv = document.getElementById('trace');
    if(obj)
    {
        if(obj.className == 'traceClose')
        {
            obj.className = 'traceOpen';
            traceDiv.style.display = 'none';
        }
        else
        {
            obj.className = 'traceClose';
            traceDiv.style.display = 'block';
        }
    }
}